<%@ page language="java" contentType="text/html; charset=utf-8"
	pageEncoding="utf-8"%>
<%@include file="/common/common_taglib.jsp"%>
<!DOCTYPE html>
<html>
<head>
<title>梦网工具本</title>
<jsp:include page="/WEB-INF/pages/include/head.jsp"></jsp:include>
<script type="text/javascript" src="/My97DatePicker/WdatePicker.js"></script>
<link href="/css/code.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="/js/foot.js"></script>

</head>
<body class="off-nav">
	<jsp:include page="/WEB-INF/pages/fc/include/nav.jsp"></jsp:include>
	<div id="main-div">
		<h4 style="color: blue;font-weight: bolder;text-align: center;">添加足迹</h4>
		<form action="/foot/add" method="post" class="add-form"
			style="padding-left: 200px;">
			<c:if test="${nopass eq 1 }">
				<div class="alert alert-danger alert-dismissable" style="margin-top: 20px;overflow: hidden;width: 70%;">
					<button type="button" class="close" data-dismiss="alert"
						aria-hidden="true">&times;</button>
					<strong>提示：</strong> <br/>
					<c:if test="${not empty startPoint_info }">
						${startPoint_info }<br /> 
					</c:if>
					<c:if test="${not empty endPoint_info }">
						${endPoint_info }<br /> 
					</c:if>
					<c:if test="${not empty weather_info }">
						${weather_info }<br /> 
					</c:if>
					<c:if test="${not empty heart_info }">
						${heart_info }<br /> 
					</c:if>
					<c:if test="${not empty mind_info }">
						${mind_info }<br /> 
					</c:if>
				</div>
			</c:if>
			<div class="mgrow">
				<span class="mglabel">　<span class="redstar">＊</span>从 </span>
				<span><input type="text" name="startPoint" placeholder="起点[1-24]" class="unit" value="${startPoint }" style="width:200px;"/></span>	
				<span class="mglabel"><span class="redstar">＊</span>到</span>
				<span><input type="text" name="endPoint" placeholder="终点[1-24]" class="unit" value="${endPoint }" style="width:200px;"/></span>					
			</div>
			<div class="mgrow">
				<span class="mglabel"><span class="redstar">＊</span>天气 </span>
				<span><input type="text" name="weather" placeholder="天气[1-12]" class="unit"value="${weather }" style="width:200px;"/></span>	
			</div>
			<div class="mgrow">
				<span class="mglabel"><span class="redstar">＊</span>心情 </span>
				<span><input type="text" name="heart" placeholder="心情[1-16]" class="unit" value="${heart }" style="width:200px;"/></span>	
				<span class="mglabel">　时间 </span>
				<input name="time" class="unit" value="${time }" type="text" onClick="WdatePicker()" style="width:185px;"/>	
			</div>
			<div class="mgrow">
				<span class="mglabel"><span class="redstar">＊</span>感想 </span>
				<span><textarea class="unit" name="mind" rows="10" cols="60" placeholder="感想" style="width:450px;">${mind }</textarea></span>
			</div>
			<div class="mgrow">
				<button class="btn btn-primary btn-sm" style="margin-left: 53px;">　确定　</button>　　　　
				<a href="/foot">返回足迹列表</a>
			</div>
		</form>
	</div>

	<jsp:include page="/WEB-INF/pages/include/copyright.jsp"></jsp:include>
</body>
</html>
